import { createApp } from "vue"
import { setupRouter } from "./routes"
import { setupUI, setupIcons } from "@/plugin"
import { setupStore } from "@/store"
import App from "./App.vue"
import "./styles/index.scss"
import "./permission"

function initApp() {
  const app = createApp(App)
  setupRouter(app)
  setupStore(app)
  setupUI(app)
  setupIcons(app)
  app.mount("#app")
}

initApp()
